/*
 * Copyright (c) 2025 Industrial Software Feature Database
 */
package com.comac.ins.isfd.domain.vo;

import lombok.Data;

import java.io.File;
import java.util.ArrayList;
import java.util.List;

/**
 * 文件树结构
 *
 * @author hxloongs
 * @date 2024-8-14
 */
@Data
public class TreeNodeVo {
    private String name;
    private Long fileSize;
    private Integer fileParsingStatus;
    private Integer importOperationTags;
    private boolean isDirectory;
    private List<TreeNodeVo> children;
    private File file;

    public TreeNodeVo(String name, boolean isDirectory, File file) {
        this.name = name;
        this.isDirectory = isDirectory;
        this.file = file;
        this.children = new ArrayList<>();
    }
}
